import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'index.dart';

class HomeFollowPage extends GetView<HomeFollowController> {
  const HomeFollowPage({super.key});

  Widget _buildView() {
    return Container(
      color: Colors.black,
      child: const Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            Icon(
              Icons.favorite,
              color: Colors.red,
              size: 80,
            ),
            SizedBox(height: 20),
            Text(
              "关注内容",
              style: TextStyle(
                color: Colors.white,
                fontSize: 24,
                fontWeight: FontWeight.bold,
              ),
            ),
            SizedBox(height: 10),
            Text(
              "关注作者的最新动态",
              style: TextStyle(
                color: Colors.white70,
                fontSize: 16,
              ),
            ),
          ],
        ),
      ),
    );
  }

  @override
  Widget build(BuildContext context) {
    return GetBuilder<HomeFollowController>(
      init: HomeFollowController(),
      id: "home_follow",
      builder: (_) {
        return _buildView();
      },
    );
  }
}

